//
//  JingRoundView.h
//  JingFM-RoundEffect
//
//  Created by isaced on 13-6-6.
//  Copyright (c) 2015年 ClearLove. All rights reserved.

#import <UIKit/UIKit.h>


@protocol JingRoundViewDelegate <NSObject>

//-(void) playStatuUpdate:(BOOL)playState;

@end



@interface JingRoundView : UIView

@property (assign, nonatomic) id<JingRoundViewDelegate> delegate;

@property (strong, nonatomic) UIImage *roundImage;
@property (assign, nonatomic) BOOL isPlay;
@property (assign, nonatomic) float rotationDuration;


@property (strong, nonatomic) UIImageView *roundImageView;
@property (strong, nonatomic) UIImageView *playStateView;
@property (strong, nonatomic) CABasicAnimation* rotationAnimation;

-(void) startRotation;
-(void) pauseRotation;

-(void) play;
-(void) pause;

@end
